<script setup>
defineProps({
	showLoading: {
		type: Boolean,
		default: true
	}
})
</script>

<template>
	<view class="loading-box" v-if="showLoading">
		<uv-loading-icon color="#28b389"></uv-loading-icon>
	</view>
</template>

<style scoped lang="scss">
.loading-box {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100rpx;
}
</style>